Count "s" and "S" characters

Output:


Capitalize every odd number letter and lowercase every even number letter

Output: